package com.xjscrm.console.service.customer.merchat;

import com.xjscrm.console.dto.MerchatChildDeviceRelationDTO;
import com.xjscrm.console.dto.MerchatChildDeviceRelationQueryDTO;
import com.xjscrm.console.entity.MerchatChildDeviceRelation;

import java.util.List;

/**
 * 子账号与机器人中间表(MerchatChildDeviceRelation)表服务接口
 *
 * @author szl
 * @since 2024-03-12 13:43:21
 */
public interface MerchatChildDeviceRelationService {

    // 查询员工账号管理的机器人Id
    List<Long> listRelDeviceUniqueIdsByStaffId(MerchatChildDeviceRelationQueryDTO childDeviceRelation);

    List<MerchatChildDeviceRelationDTO> list(MerchatChildDeviceRelationQueryDTO childDeviceRelation);

    List<MerchatChildDeviceRelation> listByStaffId(Long merId, Long staffId);

    List<Long> listDeviceUniqueIdByStaffId(Long merId, Long staffId);

    List<Long> listStaffIdsByDeviceUniqueId(Long merId, Long deviceUniqueId);
}

